<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8" />
    
  <meta name="description" content="love it" />
  
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
  <title>
     loveits
  </title>
  <meta name="generator" content="hexo-theme-yilia-plus">
  
  <link rel="shortcut icon" href="/favicon.ico" />
  
	  
  
<link rel="stylesheet" href="/css/main.css">

  
<link rel="stylesheet" href="/css/obsidian.css">

  
  <script src="https://cdn.jsdelivr.net/npm/pace-js@1.0.2/pace.min.js"></script>
  
  
  
<link rel="stylesheet" href="//cdn.bootcss.com/codemirror/5.48.4/codemirror.min.css">

  
<link rel="stylesheet" href="//cdn.bootcss.com/codemirror/5.48.4/theme/dracula.css">

  
<link rel="stylesheet" href="//cdn.datatables.net/1.10.15/css/jquery.dataTables.css">

  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jstree/3.2.1/themes/default/style.min.css" />
  

  

</head>

</html>

<body>
  <div id="app">
  <main class="content">
  
<section class="cover">
    
  <div class="cover-frame">
    <div class="bg-box">
      <img src="/images/cover3.jpg" alt="image frame" />
    </div>
    <div class="cover-inner text-center text-white">
      <h1><a href="/">loveits</a></h1>
      <div id="subtitle-box">
        
        <span id="subtitle"></span>
        
      </div>
      <div>
        
        <img
          src="/images/logo.png"
          class="cover-logo"
          alt="loveits"
        />
        
      </div>
    </div>
  </div>
  <div class="cover-learn-more">
    <a href="javascript:void(0)" class="anchor"><i class="ri-arrow-down-line"></i></a>
  </div>
</section>



<script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.11/lib/typed.min.js"></script>

<div id="main">
  <section class="outer">
  <article class="articles">
	  
	  
	  
    
    
	
    
		
			
		
			
		
			
		
			
		
			
		
			
		
			
		
			
		
			
		
			
		
		
			
				<article id="post-git/git_4" class="article article-type-post" itemscope
  itemprop="blogPost" data-scroll-reveal>

  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/p/6de0fe10.html"
    >git初探(四)-配置ssh密钥(mac)	  </a
  >
</h2>
  

    </header>
    
    
	
    
    <div class="article-meta">
      <a href="/p/6de0fe10.html" class="article-date">
  <time datetime="2020-12-17T12:46:26.000Z" itemprop="datePublished">2020-12-17</time>
</a>
      <a href="#" class="article-updated">
  2020-12-17
</a>
      
  <div class="article-category">
    <a class="article-category-link" href="/categories/%E8%BD%AF%E4%BB%B6%E5%B7%A5%E7%A8%8B/">软件工程</a> / <a class="article-category-link" href="/categories/%E8%BD%AF%E4%BB%B6%E5%B7%A5%E7%A8%8B/git/">git</a>
  </div>

      
      
      
    </div>
    
    
    

    
    
    

    <div class="article-entry" itemprop="articleBody">
      

      <p>mac下创建和管理ssh密钥。</p>
<h3 id="1-创建ssh密钥"><a href="#1-创建ssh密钥" class="headerlink" title="1.创建ssh密钥"></a>1.创建ssh密钥</h3><p>在<code>gitbash</code>上执行</p>
<pre><code class="bash">ssh-keygen -t rsa -b 4096 -C &quot;2869775223@qq.com&quot;</code></pre>
<p>执行后三个选项</p>
<ul>
<li>文件路径及名称</li>
<li>密码 之后使用该密钥时使用的密码,可以为空</li>
<li>确认密码<br>执行之后会在默认地址<code>/c/Users/&lt;user&gt;/.ssh/id_rsa</code>生成对应的<code>id_rsa</code>和<code>id_rsa.pub</code>文件.<br>在<code>setting-ssh</code>添加密钥(<code>id_rsa.pub</code>文件内容)</li>
</ul>
      
      <a class="article-more-link" href="/p/6de0fe10.html">阅读更多...</a>
      
      
      
    </div>

    

    <!-- copyright -->
    
    <footer class="article-footer">
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/git/" rel="tag">git</a></li></ul>


    </footer>

  </div>

  

  

  

</article>,
			
		
			
				<article id="post-tools/tools" class="article article-type-post" itemscope
  itemprop="blogPost" data-scroll-reveal>

  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/p/6ac60de.html"
    >tools/tools	  </a
  >
</h2>
  

    </header>
    
    
	
    
    <div class="article-meta">
      <a href="/p/6ac60de.html" class="article-date">
  <time datetime="2020-12-16T07:47:23.304Z" itemprop="datePublished">2020-12-16</time>
</a>
      <a href="#" class="article-updated">
  2020-12-16
</a>
      
      
      
      
    </div>
    
    
    

    
    
    

    <div class="article-entry" itemprop="articleBody">
      
      
      <hr>
<hr>
<h3 id="1-仓库"><a href="#1-仓库" class="headerlink" title="1.仓库"></a>1.仓库</h3><p><img src="https://i.loli.net/2020/04/23/GjIrFpkzOPyibUS.png" alt="1.png"></p>
<p><img src="https://i.loli.net/2020/04/24/aEV6XiPMLBCI13h.png" alt="image-20200424101206295"></p>

     
      
    </div>

    

    <!-- copyright -->
    
    <footer class="article-footer">
      
      

    </footer>

  </div>

  

  

  

</article>,
			
		
			
				<article id="post-tools/chrome书签同步" class="article article-type-post" itemscope
  itemprop="blogPost" data-scroll-reveal>

  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/p/bad80d7e.html"
    >软件归档	  </a
  >
</h2>
  

    </header>
    
    
	
    
    <div class="article-meta">
      <a href="/p/bad80d7e.html" class="article-date">
  <time datetime="2020-12-16T07:47:23.303Z" itemprop="datePublished">2020-12-16</time>
</a>
      <a href="#" class="article-updated">
  2020-12-16
</a>
      
  <div class="article-category">
    <a class="article-category-link" href="/categories/tools/">tools</a>
  </div>

      
      
      
    </div>
    
    
    

    
    
    

    <div class="article-entry" itemprop="articleBody">
      
      
      <h2 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h2><p>多设备使用谷歌Chrome浏览器时，即时同步书签比较麻烦（毕竟不能一直科学上网），推荐几个主动触发Chrome更新书签的方法。</p>
<h2 id="方法"><a href="#方法" class="headerlink" title="方法"></a>方法</h2><h2 id="ps"><a href="#ps" class="headerlink" title="ps"></a>ps</h2>
     
      
    </div>

    

    <!-- copyright -->
    
    <footer class="article-footer">
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/chrome/" rel="tag">chrome</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E4%B9%A6%E7%AD%BE/" rel="tag">书签</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E8%BD%AF%E4%BB%B6/" rel="tag">软件</a></li></ul>


    </footer>

  </div>

  

  

  

</article>,
			
		
			
				<article id="post-dictionary/目录" class="article article-type-post" itemscope
  itemprop="blogPost" data-scroll-reveal>

  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/p/48243ebb.html"
    >dictionary/目录	  </a
  >
</h2>
  

    </header>
    
    
	
    
    <div class="article-meta">
      <a href="/p/48243ebb.html" class="article-date">
  <time datetime="2020-12-16T07:47:23.297Z" itemprop="datePublished">2020-12-16</time>
</a>
      <a href="#" class="article-updated">
  2020-12-17
</a>
      
      
      
      
    </div>
    
    
    

    
    
    

    <div class="article-entry" itemprop="articleBody">
      
      
      <hr>
<p>title: markdown - Hbuilder<br>copyright: true<br>tags: </p>
<ul>
<li>Markdown<br>categories:</li>
<li>字典<br>abbrlink: 4636b7bd</li>
</ul>
<hr>

     
      
    </div>

    

    <!-- copyright -->
    
    <footer class="article-footer">
      
      

    </footer>

  </div>

  

  

  

</article>,
			
		
			
				<article id="post-games/三国杀疑难字" class="article article-type-post" itemscope
  itemprop="blogPost" data-scroll-reveal>

  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/p/9491146b.html"
    >三国杀疑难字	  </a
  >
</h2>
  

    </header>
    
    
	
    
    <div class="article-meta">
      <a href="/p/9491146b.html" class="article-date">
  <time datetime="2020-11-21T13:52:16.000Z" itemprop="datePublished">2020-11-21</time>
</a>
      <a href="#" class="article-updated">
  2020-12-16
</a>
      
  <div class="article-category">
    <a class="article-category-link" href="/categories/games/">games</a>
  </div>

      
      
      
    </div>
    
    
    

    
    
    

    <div class="article-entry" itemprop="articleBody">
      
      
      <h2 id="三国杀疑难字"><a href="#三国杀疑难字" class="headerlink" title="三国杀疑难字"></a>三国杀疑难字</h2><h3 id="生僻字"><a href="#生僻字" class="headerlink" title="生僻字"></a>生僻字</h3><p>司马懿<br>荀彧<br>徐庶<br>夏侯惇<br>蒯良蒯越kuǎi<br>诸葛瞻<br>毋丘俭[wú qiū jiǎn]<br>吕蒙lǚ méng<br>马谡<br>沮授<br>曹叡<br>钟繇<br>刘谌（chén）<br>张嶷（nì .<br>全琮[quán cóng]<br>吴苋 xiàn<br>步骘bù zhì<br>杜畿 dù jī<br>王粲 càn 璀璨<br>蔡邕 yōng<br>糜竺 mí zhú<br>周鲂zhōu fáng</p>
<h3 id="多音字"><a href="#多音字" class="headerlink" title="多音字"></a>多音字</h3><p>华雄<br>许褚 chǔ<br>刘禅 shàn</p>

     
      
    </div>

    

    <!-- copyright -->
    
    <footer class="article-footer">
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E4%B8%89%E5%9B%BD%E6%9D%80/" rel="tag">三国杀</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E6%96%87%E5%AD%97/" rel="tag">文字</a></li></ul>


    </footer>

  </div>

  

  

  

</article>,
			
		
			
				<article id="post-other/资源管理" class="article article-type-post" itemscope
  itemprop="blogPost" data-scroll-reveal>

  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/p/fd1a9276.html"
    >资源管理	<span class="post-doing"> <i class="ri-loader-line" title="开发中"></i> </span>  </a
  >
</h2>
  

    </header>
    
    
	
    
    <div class="article-meta">
      <a href="/p/fd1a9276.html" class="article-date">
  <time datetime="2020-07-29T08:36:06.000Z" itemprop="datePublished">2020-07-29</time>
</a>
      <a href="#" class="article-updated">
  2020-12-16
</a>
      
  <div class="article-category">
    <a class="article-category-link" href="/categories/%E6%9D%82%E9%A1%B9/">杂项</a>
  </div>

      
      
      
    </div>
    
    
    

    
    
    

    <div class="article-entry" itemprop="articleBody">
      
      
      <p>资源管理</p>
<p>  随手在网络各处dd</p>

     
      
    </div>

    

    <!-- copyright -->
    
    <footer class="article-footer">
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E6%94%B6%E7%BA%B3/" rel="tag">收纳</a></li></ul>


    </footer>

  </div>

  

  

  

</article>,
			
		
			
				<article id="post-games/激战2" class="article article-type-post" itemscope
  itemprop="blogPost" data-scroll-reveal>

  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/p/25d3d2e9.html"
    >激战2 超值物品	  </a
  >
</h2>
  

    </header>
    
    
	
    
    <div class="article-meta">
      <a href="/p/25d3d2e9.html" class="article-date">
  <time datetime="2020-07-08T17:52:10.000Z" itemprop="datePublished">2020-07-09</time>
</a>
      <a href="#" class="article-updated">
  2020-12-16
</a>
      
  <div class="article-category">
    <a class="article-category-link" href="/categories/games/">games</a>
  </div>

      
      
      
    </div>
    
    
    

    
    
    

    <div class="article-entry" itemprop="articleBody">
      
      
      
     
      
    </div>

    

    <!-- copyright -->
    
    <footer class="article-footer">
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/GW2/" rel="tag">GW2</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/shop/" rel="tag">shop</a></li></ul>


    </footer>

  </div>

  

  

  

</article>,
			
		
			
				<article id="post-plan/博客计划 - 技术" class="article article-type-post" itemscope
  itemprop="blogPost" data-scroll-reveal>

  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/p/7d59c025.html"
    >2020年博客-文章计划	  </a
  >
</h2>
  

    </header>
    
    
	
    
    <div class="article-meta">
      <a href="/p/7d59c025.html" class="article-date">
  <time datetime="2020-07-08T17:52:10.000Z" itemprop="datePublished">2020-07-09</time>
</a>
      <a href="#" class="article-updated">
  2020-12-16
</a>
      
  <div class="article-category">
    <a class="article-category-link" href="/categories/%E8%AE%A1%E5%88%92/">计划</a>
  </div>

      
      
      
    </div>
    
    
    

    
    
    

    <div class="article-entry" itemprop="articleBody">
      
      
      <h2 id="第三季度"><a href="#第三季度" class="headerlink" title="第三季度"></a>第三季度</h2><ul>
<li>echarts<ul>
<li>top排行显示名次升降情况</li>
<li>3D</li>
</ul>
</li>
<li>正则<ul>
<li>模拟数据 excel转json<ul>
<li><code>=&quot;:&#39;&quot;&amp;B1&amp;&quot;&#39;,&quot;</code> EXCEL <code>=&quot;&#39;&quot;&amp;A1&amp;&quot;&#39;&quot;</code></li>
<li>web 应用</li>
<li>正则<table>
<thead>
<tr>
<th></th>
<th>内容</th>
<th>标签</th>
<th>计划时间</th>
<th>完成情况</th>
</tr>
</thead>
<tbody><tr>
<td></td>
<td>详解</td>
<td>jquery datatable.js</td>
<td>2020-03-31 15:21:11</td>
<td></td>
</tr>
<tr>
<td></td>
<td>hexo中的应用</td>
<td>jquery datatable.js</td>
<td>2020-03-31 15:21:15</td>
<td></td>
</tr>
<tr>
<td></td>
<td>hbuilder-使用环境及常用快捷键</td>
<td>ide</td>
<td>2020-03-31 15:26:33</td>
<td></td>
</tr>
<tr>
<td></td>
<td>vscode使用场景及常用插件</td>
<td>ide</td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td>使用gitee issue作为博客微型数据库的解决方案</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td>hexo中只用jstree上</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td>hexo中只用jstree下-深度使用</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td>hbuilder终端打开不了的解决办法</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td>jstree源码分析（粗）</td>
<td>js</td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td>json（id，pid）数据转json tree（children）</td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody></table>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<hr>

     
      
    </div>

    

    <!-- copyright -->
    
    <footer class="article-footer">
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E8%AE%A1%E5%88%92/" rel="tag">计划</a></li></ul>


    </footer>

  </div>

  

  

  

</article>,
			
		
			
				<article id="post-vlog/source/重生指南" class="article article-type-post" itemscope
  itemprop="blogPost" data-scroll-reveal>

  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/p/843fd463.html"
    >重生指南	  </a
  >
</h2>
  

    </header>
    
    
	
    
    <div class="article-meta">
      <a href="/p/843fd463.html" class="article-date">
  <time datetime="2020-06-22T08:38:57.000Z" itemprop="datePublished">2020-06-22</time>
</a>
      <a href="#" class="article-updated">
  2020-12-16
</a>
      
  <div class="article-category">
    <a class="article-category-link" href="/categories/vlog/">vlog</a> / <a class="article-category-link" href="/categories/vlog/%E7%BB%BC%E5%90%88/">综合</a>
  </div>

      
      
      
    </div>
    
    
    

    
    
    

    <div class="article-entry" itemprop="articleBody">
      
      
      <h2 id="按时间分布"><a href="#按时间分布" class="headerlink" title="按时间分布"></a>按时间分布</h2><ul>
<li>昨天</li>
<li>2020</li>
<li>2010</li>
<li>2000</li>
<li>1990</li>
<li>1980</li>
<li></li>
</ul>

     
      
    </div>

    

    <!-- copyright -->
    
    <footer class="article-footer">
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/vlog/" rel="tag">vlog</a></li></ul>


    </footer>

  </div>

  

  

  

</article>,
			
		
			
				<article id="post-shop/降噪耳机" class="article article-type-post" itemscope
  itemprop="blogPost" data-scroll-reveal>

  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/p/a3e4aeb7.html"
    >降噪耳机	  </a
  >
</h2>
  

    </header>
    
    
	
    
    <div class="article-meta">
      <a href="/p/a3e4aeb7.html" class="article-date">
  <time datetime="2020-05-26T07:21:42.000Z" itemprop="datePublished">2020-05-26</time>
</a>
      <a href="#" class="article-updated">
  2020-12-16
</a>
      
  <div class="article-category">
    <a class="article-category-link" href="/categories/%E5%A5%BD%E7%89%A9/">好物</a>
  </div>

      
      
      
    </div>
    
    
    

    
    
    

    <div class="article-entry" itemprop="articleBody">
      
      
      <h2 id="✨前言"><a href="#✨前言" class="headerlink" title="✨前言"></a>✨前言</h2><h2 id="✨对比"><a href="#✨对比" class="headerlink" title="✨对比"></a>✨对比</h2><p>|型号|价格||型号|价格||型号|价格|</p>

     
      
    </div>

    

    <!-- copyright -->
    
    <footer class="article-footer">
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E8%B4%AD%E7%89%A9/" rel="tag">购物</a></li></ul>


    </footer>

  </div>

  

  

  

</article>,
			
		
		</article>
	
  
  <nav class="page-nav">
    
    <span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><a class="page-number" href="/page/4/">4</a><a class="extend next" rel="next" href="/page/2/">下一页</a>
  </nav>
  
</section>

<script crossorigin="anonymous" integrity="sha384-grSbRFJ7wnaD/ZEWv79klTjkCgkTTfcw39pNmwgXlBB7zVm/oNqih+PZ6qblVvao" src="https://lib.baomitu.com/echarts/4.6.0/echarts-en.min.js"></script>
<script>

</script>
</div>

  <footer class="footer">
  <div class="outer">
    <ul class="list-inline">
      <li>
        <!-- loveits blog α -->
        &copy;
        2020
        loyalvi α
      </li>
	  <li>
	    
	    Powered by
	    
	    
	    <a href="https://hexo.io" target="_blank">Hexo</a> Theme <a href="https://github.com/Shen-Yu/hexo-theme-ayer" target="_blank">Ayer</a>
	    
	  </li>
      <!-- <li>
        联系方式（TODO）
      </li> -->
    </ul>
    <ul class="list-inline">
      <li>
        
      </li>
	  
	  
	  <li>
	    <a href="http://www.beian.miit.gov.cn/" target="_black">苏ICP备20008261号-1</a>
	  </li>
	  
	  
      <li>
        <!-- cnzz统计 -->
        
      </li>
	  
    </ul>
  </div>
</footer>
  <div class="to_top">
  <div class="totop" id="totop">
  <i class="ri-arrow-up-line"></i>
</div>
  </div>
  </main>
  <aside class="sidebar">
  <button class="navbar-toggle"></button>
<nav class="navbar">
  
  <div class="logo">
    <a href="/"><img src="/images/logo-white.png" alt="loveits"></a>
  </div>
  
  <ul class="nav nav-main">
    
    <li class="nav-item">
      <a class="nav-item-link" href="/archives">归档</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/categories">分类</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/tags">标签</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/categories/%E8%AE%A1%E5%88%92/">计划</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/categories/%E5%AD%97%E5%85%B8/">字典</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/todo">待办</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/p/9ff79b23.html">我</a>
    </li>
    
  </ul>
</nav>
<nav class="navbar navbar-bottom">
  <ul class="nav">
    <li class="nav-item">
      
      <a class="nav-item-link nav-item-search"  title="搜索">
        <i class="ri-search-line"></i>
      </a>
      
      
    </li>
  </ul>
</nav>
<div class="search-form-wrap">
  <div class="local-search local-search-plugin">
  <input type="search" id="local-search-input" class="local-search-input" placeholder="Search...">
  <div id="local-search-result" class="local-search-result"></div>
</div>
</div> 
  </aside>
  <div id="mask"></div>

<!-- #reward -->
<div id="reward">
  <span class="close"><i class="ri-close-line"></i></span>
  <p class="reward-p"><i class="ri-cup-line"></i>请我喝杯咖啡吧~</p>
  <div class="reward-box">
    
    <div class="reward-item">
      <img class="reward-img" src="/images/alipay.jpg">
      <span class="reward-type">支付宝</span>
    </div>
    
    
    <div class="reward-item">
      <img class="reward-img" src="/images/wechat.jpg">
      <span class="reward-type">微信</span>
    </div>
    
  </div>
</div>
  
  
<script src="/js/jquery-2.0.3.min.js"></script>


<script src="/js/share.js"></script>


<script src="/js/lazyload.min.js"></script>


<script src="/js/jquery.nicescroll.min.js"></script>

<script type="text/javascript" charset="utf8" src="http://cdn.datatables.net/1.10.15/js/jquery.dataTables.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jstree/3.2.1/jstree.min.js"></script>

<script>
  try {
    var typed = new Typed("#subtitle", {
      strings: ['loveits blog', '中意他的博客', ''],
      startDelay: 0,
      typeSpeed: 100,
      loop: true,
      backSpeed: 100,
      showCursor: true
    });

  } catch (err) {
  }

</script>

<script>
//var nice = $("main").niceScroll();
	$('table').DataTable({
		"language": {
			"lengthMenu": "每页 _MENU_ 条记录",
			"zeroRecords": "没有找到记录",
			"info": "",
			"infoEmpty": "无记录",
			"infoFiltered": "(从 _MAX_ 条记录过滤)",
			"search":"搜索:"
		},
		"paging": false,
		searching: false,
		"columnDefs" : [ 
			{
			targets: [0],
			render: function(data, type, row, meta) {
				return  (meta.row + 1);
			}
			}],
        "order": [[4, 'asc']]	
	});			
</script>





<script src="https://cdn.bootcss.com/codemirror/5.48.4/codemirror.min.js"></script>

    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/javascript/javascript.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/css/css.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/xml/xml.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/shell/shell.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/python/python.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/htmlmixed/htmlmixed.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/htmlembedded/htmlembedded.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/clike/clike.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/php/php.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/powershell/powershell.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/yaml/yaml.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/addon/mode/multiplex.min.js"></script>



<script src="https://cdn.jsdelivr.net/npm/jquery-modal@0.9.2/jquery.modal.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jquery-modal@0.9.2/jquery.modal.min.css">
<script src="https://cdn.jsdelivr.net/npm/justifiedGallery@3.7.0/dist/js/jquery.justifiedGallery.min.js"></script>

<script src="/js/ayer.js"></script>



<!-- Root element of PhotoSwipe. Must have class pswp. -->
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">

    <!-- Background of PhotoSwipe. 
         It's a separate element as animating opacity is faster than rgba(). -->
    <div class="pswp__bg"></div>

    <!-- Slides wrapper with overflow:hidden. -->
    <div class="pswp__scroll-wrap">

        <!-- Container that holds slides. 
            PhotoSwipe keeps only 3 of them in the DOM to save memory.
            Don't modify these 3 pswp__item elements, data is added later on. -->
        <div class="pswp__container">
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
        </div>

        <!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
        <div class="pswp__ui pswp__ui--hidden">

            <div class="pswp__top-bar">

                <!--  Controls are self-explanatory. Order can be changed. -->

                <div class="pswp__counter"></div>

                <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>

                <button class="pswp__button pswp__button--share" style="display:none" title="Share"></button>

                <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>

                <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>

                <!-- Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR -->
                <!-- element will get class pswp__preloader--active when preloader is running -->
                <div class="pswp__preloader">
                    <div class="pswp__preloader__icn">
                        <div class="pswp__preloader__cut">
                            <div class="pswp__preloader__donut"></div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
                <div class="pswp__share-tooltip"></div>
            </div>

            <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
            </button>

            <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
            </button>

            <div class="pswp__caption">
                <div class="pswp__caption__center"></div>
            </div>

        </div>

    </div>

</div>

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/default-skin/default-skin.min.css">
<script src="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe-ui-default.min.js"></script>

<script>
    function viewer_init() {
        let pswpElement = document.querySelectorAll('.pswp')[0];
        let $imgArr = document.querySelectorAll(('.article-entry img:not(.reward-img)'))

        $imgArr.forEach(($em, i) => {
            $em.onclick = () => {
                // slider展开状态
                // todo: 这样不好，后面改成状态
                if (document.querySelector('.left-col.show')) return
                let items = []
                $imgArr.forEach(($em2, i2) => {
                    let img = $em2.getAttribute('data-idx', i2)
                    let src = $em2.getAttribute('data-target') || $em2.getAttribute('src')
                    let title = $em2.getAttribute('alt')
                    // 获得原图尺寸
                    const image = new Image()
                    image.src = src
                    items.push({
                        src: src,
                        w: image.width || $em2.width,
                        h: image.height || $em2.height,
                        title: title
                    })
                })
                var gallery = new PhotoSwipe(pswpElement, PhotoSwipeUI_Default, items, {
                    index: parseInt(i)
                });
                gallery.init()
            }
        })
    }
    viewer_init()
</script>




<script type="text/javascript" src="https://js.users.51.la/20544303.js"></script>
	
  
  </div>
</body>

</html>